package com.aiyige.page.selectregion.model;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created by zhuyakun on 2017/10/26.
 */

public class RegionItem implements MultiItemEntity {
    public static final int TYPE_INDEX = 1;
    public static final int TYPE_DATA = 2;
    String name;
    String fullName;
    String index;
    int type;
    String pinyin;
    String id;

    public RegionItem() {
    }

    public RegionItem(String name, String fullName, String index, int type, String pinyin, String id) {
        this.name = name;
        this.fullName = fullName;
        this.index = index;
        this.type = type;
        this.pinyin = pinyin;
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    @Override
    public int getItemType() {
        return type;
    }
}
